A Null Space Compliance Approach for Maintaining Safety and Tracking Performance in Human-Robot Interactions