Original: When he was to leave Heaven by orders of Izanagi, he went to bid his sister goodbye.
Simplified: Izanagi ordered him to, he went to say goodbye to his sister.