Fixed non working statement_timeout in the reindexing process

As it is explained by the link [1] if a statement_timeout setting is
included in a compound statement it wont take effect. Solved by
splitting the compound statement in the reindexing process as separate
commands.

[1] http://www.postgresql.org/message-id/flat/1405962979850-5812243.post@n5.nabble.com