metomi/rose#330: alter warning logic

This improves the 'Orphaned section' warning logic in rose config-edit. @arjclark, please review.