Civil servants are supposed to spend at least days a week in the office under Whitehall rules on working from home.