On her self-assured second album, this singer-songwriter uses her mordant wit to confront serious subjects, exorcising trauma with hooks and humor.