Judge approves Planned Parenthood funding cuts