Terror bid foils at Rajanpur railway track, bomb defused