Fixed a crash on iOS 8 when presenting the Add Offline Pack dialog. Fixes #4305.
Remove all references to an offline pack before the call to -removePackWithCompletionHander:. Cherry-picked from d64b8ad25c.
d64b8ad25c