John Patrick Shanley wrote an immaculate work that can stand up to even adequate productions like the one starring Amy Ryan and Liev Schreiber that opened Thursday on Broadway.