Crystal Palace have bolstered their defence with the deadline-day signing of Scott Dann from Blackburn.