Bath progress to the quarter-finals of the European Challenge Cup with a seven-try win against Pau despite having Sam Underhill sent off.