Add non-exhaustive check for match guards

Fix ICE while there is no remained arms after checking guards
auto merge of #5118 : youknowone/rust/match-guard, r=nikomatsakis

Fix ICE while there is no remained arms after checking guards.

This fix #3601 also.