Stormont’s plan to shut the RHI scheme has been thrown into disarray after every Executive party except Sinn Féin voted down legislation meant to pave the way for closure.