Parahoric reduction theory of formal connections