To remove a surrounding statement or block, position the cursor at the opening bracket and press Ctrl+1 (Edit > Quick Fix).