Stabilizing edge fluorination in graphene nanoribbons