As it happened: Energy bill to pass with Greens support; Scott Morrison appears before robo-debt royal commission