clean up .new files if equal

Removes .new  file if the old and new configuration are equal.