The Federal Reserve is overhauling its bank stress test framework amid legal challenges, aiming for greater transparency and stability.