Source: Alabama hostage taker's declining mental state led to rescue