Japan PM weakened by party revolt