Nets agree to 4-year deal with Lionel Hollins