Soft mode and magnetic phase transition in PrNi