Hello TSny,
Thank you for your reply. I think I understand now. As far as the dimensional inconsistency, I had made a mistake in my explanation; the solution said that \int_{inner} d\textbf{l} =2a\hat{x} , which makes more sense, dimensionally.
So, let's see if I follow you. Explicitly...