Attorney general’s ‘Remain bias’ jibe ‘damaging to civil service morale’