Implements `else' for `foreach' statements