Add non-exhaustive check for match guards

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