Boris Johnson could resort to "political chicanery" to bypass a law designed to stop a no-deal Brexit, Sir John Major has claimed.