Microlensing in H1413+117: Disentangling line profile emission and absorption in a broad absorption line quasar