AJK PM resigns in wake of no-confidence motion