Remove unnecessary BlockStatement around loops