Update Participant.php

Removed 3 instances of assignment in if operators. This is ambiguous and against the Civi coding standards.