Tutored by Thelonious Monk, the Harlem native came of age with bebop and created a succession of improvisational masterpieces that made him one of history’s most influential musicians.