The PM says there will still be time to debate Brexit before October's deadline, but the move sparks anger and a new legal challenge.