Two new books wrestle with Mailer’s myths and his legacy.