Liverpool beat 10-man Newcastle to boost top-4 hopes