Scott Morrison has been formally condemned by MPs for giving himself extra powers while in office.