Cruz and Kasich vow to fight on to the end