The directive comes after Musk announced a new measure requiring all US federal employees to justify their work.