Fix some inconsistent indentation

Some places used 4 spaces instead of 2.