style: Short-circuit the selector matching process if the map is empty.

125% win on selector matching (!)
auto merge of #1574 : pcwalton/servo/cheat-before-after, r=SimonSapin

125% win on selector matching (!)

r? @SimonSapin