Update ECPoint.java

Removed unreachable code and unnecessary check.