Remove unnecessary block statements in do