Agree
The plane broke, and you were cognizant of it's handling capabilities (controllable). Who knows what would have happened if you raised the flaps.
Had a similar experience in an older 172 doing T/Gos and the flaps stayed at 40' on the go. I did raise them after landing per the checklist, which irked maint as they wanted to "see" the flap lever at 0 and the actual flaps at 40.