Add non-exhaustive check for match guards

Fix ICE while there is no remained arms after checking guards