Lawmakers call on PM to resign over measure deemed unlawful; speaker of the house says MPs should reconvene immediately