Surrey and Gloucestershire become the latest sides to reach the quarter-finals of the T20 Blast on a busy night of action.