There is a vast difference between military assistance/aid vs. IMF/WB loans. All of Pakistani loans from IMF/WB go into the specific projects whether there is a military dictatorship or parliamentary government. So obviously these funds are going to the people, infra, civil society and for bolstering the economy with all of their conditions.
Second, I am not sure if I see Asim Munir or anyone in Pakistan being a loser or anything. Pakistani policies carry on regardless of whosoever is in the WH. There's nothing that Pakistan can do about that since we certainly don't have any clout like AIPAC etc. Pakistan's entire gameplay is to keep from crossing the US and creating trouble for itself. For some reason, you and some others have a lot of faith in the US politicians for restoring some sort of altruistic system of governance in Pakistan. Pakistan is too big and too complicated for that to happen except by muddling through it by itself.
He can stay in his appointment for the term that he has been granted, what can the Americans do? It is Pakistan's internal security architecture. Except passing some resolutions and asking for IK to be given more freedom (which he should be), what more can happen? Last, it is also very simplistic for you to suggest that just because it's the end of Trump's term, suddenly the whole USG will turn hostile. Biden was not as friendly, but he was also not hostile. By the way, the one who put the most severe sanctions on Pakistan was a Republican (Bush Senior). So Pakistan will carry on inshallah.