The prime minister has warned that a "peace deal which does not stop Putin from attacking again would be a disaster for everyone".