Goals by Kenny Miller and Martyn Waghorn put Rangers into the Scottish Cup last eight after Michael Tidser had given Morton an early lead.