Flexibility of brain regions during working memory curtails cognitive consequences to lack of sleep