Apply clang-format on rmc code
With !710 (merged) an update was done to the rmc code. This code has some horribly inconsistent indentation issues that should be fixed. We should run clang-format on this and add the corresponding commit to the git blame refs.