Pending lawsuits filed against Maryland agencies over allegations of sexual abuse could cost the state $3.1 billion.