Nationwide Building Society, which has its headquarters in Swindon, is due to cut 450 staff.