Asda is to cut 475 head office jobs and order staff back to the office for at least three days a week as part of a major shake-up.