PM says he will give MPs more time to debate Brexit deal but only if they agree to 12 December general election.