Weatherley was accompanied by India batter Tilak Varma as Hampshire chased down 286