Consolidating first and second mortgage loans